
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

public class HomePage {
	private static final String Search_Button = "fk-main-search-btn";
	private static final String Search_Box = "fk-top-search-box";
	private WebDriver driver;

	public HomePage(WebDriver driver) {
		this.driver = driver;
	}

	public void searchString(String searchString) {
		driver.findElement(By.id(Search_Box)).clear();
		driver.findElement(By.id(Search_Box)).sendKeys(searchString);
		driver.findElement(By.className(Search_Button)).click();
	}
}